﻿using FikriKibar.Entities.Composite.BaseModels;

namespace FikriKibar.Business.Abstract
{
    public interface IBaseService<T>
    {
        AddModel<T> Add();
        void Add(AddModel<T> model);
        UpdateModel<T> Update(int id, string language);
        void Update(UpdateModel<T> model);
        ListModel<T> GetList(string searchTerm, string languageCode, int status, int index, int size, string idsForSort, string idsForApprove, string idsForDelete);
        void Delete(int id, string language);
    }
}
